Skip to content

Conversation

@pratyushjha06
Copy link
Contributor

Pull Requests Review Criteria

Caution

PRs that fail to meet these review standards will be automatically flagged and may be rejected by maintainers.

  • Filled out this PR template properly
  • Did not commit directly to main
  • Limited commits (max 3–4 unless permitted by Admin/Mentors)
  • Added comments in complex parts of code

Closes: #1369

Describe the add-ons or changes you've made 📃

Added a back button to the project detail page to allow users to navigate back to the previous page.

Changes made:

  • Imported useNavigate hook from react-router-dom and ArrowBackIcon from Material-UI icons
  • Added navigate hook inside the Project component
  • Created a back button in the header section next to the project title
  • Used navigate(-1) to go back to previous page in browser history
  • Button uses outlined variant to match the existing design system

Location of changes:

  • File: client/src/modules/code/Project.tsx
  • Section: Header section where project title is displayed

This solves the issue where users had no way to exit the project page without using browser controls.

Screenshots 📷

image

Note to reviewers (Optional) 📄

@vercel
Copy link

vercel bot commented Jan 26, 2026

@pratyushjha06 is attempting to deploy a commit to the avdheshvarshney's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thank you for submitting your pull request! We'll review it as soon as possible. For further communication, join our discord server https://discord.gg/tSqtvHUJzE.

@Avdhesh-Varshney
Copy link
Collaborator

@pratyushjha06 Use header shareable component and pass back arrow button in leftSideChildren

@Avdhesh-Varshney
Copy link
Collaborator

@pratyushjha06 Any update on reqd changes?

@pratyushjha06
Copy link
Contributor Author

pratyushjha06 commented Jan 29, 2026

image

@Avdhesh-Varshney Done Pls Check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing back button to navigate out of project detail page

2 participants